import fetch from 'utils/fetch';

//审核
export function checkCash(id,type) {
	  return fetch({
		url:  '/api/admin/cash/checkCash/' + id + '/' + type ,
    method: 'get',
  });
}

//查询
export function withdrawCashAll(data) {
	  return fetch({
		url:  '/api/admin/cash/findCashRecord' ,
    headers: {'Content-type': 'application/json;charset=UTF-8'},
    method: 'post',
    data:data
  });
}

//查询
export function withdrawCashPay(id) {
	  return fetch({
		url:  '/api/admin/cash/remit/' + id ,
    method: 'get',
  });
}